package com.company.company.controller;

import com.company.company.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dfj@99chuxing.com
 * @date 2018/4/16 0016 15:33
 */
@RestController
public class HelloController {

    @Autowired
    private  HelloService helloService;


    @RequestMapping("hello")
    public String hello() {
        return  helloService.hiService();
    }

}
